import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'
import Vue from 'vue'
import {UI_CACHE_DB_DICT_DATA } from "@/store/mutation-types"

//产品管理
const getZZVarietyList = (params)=>getAction("/chvegetable/flowerVarietyZZ/list",params)

//产品处理
const queryAndCountById = (params)=>getAction("/flower/tagInfo/queryAndCountById",params)
const queryFlowerBase = (params)=>getAction("/flower/plantingBase/getAllBase",params)
const queryGreenhouseByPd = (code)=>getAction(`/flower/flowerPlantingGreenhouse/queryByParentId/${code}`)
const queryTodayData = (params)=>getAction("/flower/flowerOutorderinfo/list",params)
const getVarietyList = (params)=>getAction("/flower/flowerVariety/list",params)
const getVarietyNameList = (params)=>getAction("/flower/flowerVariety/queryNameLists",params)

//批量入库
const getFlowerTagInMain2 = (params)=>getAction("/flower/tFlowerTagInMain2/list",params)
const getFlowerTagInMain2DetailByMainId = (params)=>getAction("/flower/tFlowerTagInMain2/queryTFlowerTagIn2ByMainId",params)
const flowerTagInMain2Add = (params)=>postAction("/flower/tFlowerTagInMain2/add",params)
const flowerTagInMain2Edit = (params)=>putAction("/flower/tFlowerTagInMain2/edit",params)
const flowerTagInMain2Delete = (params)=>deleteAction("/flower/tFlowerTagInMain2/delete",params)
const flowerTagInMain2DeleteBatch = (params)=>deleteAction("/flower/tFlowerTagInMain2/deleteBatch",params)

const sure = (params)=>getAction("/flower/tFlowerTagInMain2/sure",params)//入库审核
const sureBack = (params)=>getAction("/flower/tFlowerTagInMain2/sureBack",params)//入库审核

//冷库
const listByPsn = (params)=>getAction("/flower/flowerStorehouse/listByPsn",params)
const getFlowerStorehouse = (params)=>getAction("/flower/flowerStorehouse/list",params)
const getFlowerStorehouseDetailByMainId = (params)=>getAction("/flower/flowerStorehouse/queryFlowerStorehouseDetailByMainId",params)
const getFlowerCost = (params)=>getAction("/sys/dict/getDictItems/ch_cost",params)
const getFlowerStorehouseDict = (params)=>getAction("/sys/dict/getDictItems/storehouse",params)
const flowerStorehouseAdd = (params)=>postAction("/flower/flowerStorehouse/add",params)
const flowerStorehouseEdit = (params)=>putAction("/flower/flowerStorehouse/edit",params)
const flowerStorehouseDelete = (params)=>deleteAction("/flower/flowerStorehouse/delete",params)
const flowerStorehouseDeleteBatch = (params)=>deleteAction("/flower/flowerStorehouse/deleteBatch",params)

//客户管理
const getFlowerCustom = (params)=>getAction("/flower/flowerCustom/list",params)//客户管理-分页列表查询
const syncUser = (params)=>getAction("/flower/flowerCustom/getCoustomFromSealTolocal",params)//客户管理-手动同步
const getCustomMoney = (params)=>getAction("/flower/flowerCustom/getCustomMoney",params)//获取客户余额

//出库子单
const queryFlowerOutOrderInfo = (params)=>getAction("/flower/flowerOutorderinfo/list",params)//查询拆分前的出库子表数据
const queryFlowerOutOrderInfoListInfo = (params)=>getAction("/flower/flowerOutorderinfo/listInfo",params)//查询拆分后的出库子表数据

//总台账  gf  2023年2月20日22:52:00  新增
const getTagBooks = (params)=>getAction("/flower/flowerTagBook/listDialog",params)
const getTagBookPres = (params)=>getAction("/flower/flowerTagBookpre/listDialog",params)

//出库
const getFlowerOutorder = (params)=>getAction("/flower/flowerOutorder/list",params)
const getFlowerVarietys = (params)=>getAction("/flower/flowerOutorder/getFlowerVarietys",params)
const getFlowerOutorderinfo = (params)=>getAction("/flower/flowerOutorderinfo/list",params)
const flowerOutOrderAdd = (params)=>postAction("/flower/flowerOutorder/add",params);
const flowerOutOrderEdit = (params)=>putAction("/flower/flowerOutorder/edit",params);
const flowerOutOrderDelete = (params)=>deleteAction("/flower/flowerOutorder/delete",params);
const flowerOutOrderDeleteBatch = (params)=>deleteAction("/flower/flowerOutorder/deleteBatch",params);
const flowerOutOrderSureOut= (params)=>getAction("/flower/flowerOutorder/sureOut",params)
const flowerOutOrderToWaitOut= (params)=>getAction("/flower/flowerOutorder/toWaitOut",params)

const fiunalSure= (params)=>getAction("/flower/flowerOutorder/fiunalSure",params)// 财务确认
const fiunalSureBack= (params)=>getAction("/flower/flowerOutorder/fiunalSureBack",params)// 财务确认撤销

const flowerOutOrderDList= (params)=>getAction("/flower/flowerOutorderinfoD/list",params)//拆分订单查询
const flowerOutOrderDAdd= (params)=>postAction("/flower/flowerOutorderinfoD/add2",params)//拆分订单保存
const flowerOutOrderDDelete= (params)=>deleteAction("/flower/flowerOutorderinfoD/delete",params)//拆分订单保存

const flowerAfSalesMain= (params)=>getAction("/flower/flowerAfSalesMain/getListByOrderNo",params)// 售后单


const transportPipe= (params)=>putAction("/flower/flowerOutorder/transportPipe",params)// 运管确认
const transportPipeBack= (params)=>getAction("/flower/flowerOutorder/transportPipeBack",params)// 撤销运管确认
const toPress = (params)=>getAction("/flower/flowerOutorder/toPress",params)// 提交流程审核
const toPressBack = (params)=>getAction("/flower/flowerOutorder/toPressBack",params)// 提交流程审核-撤销
const accountSure = (params)=>getAction("/flower/flowerOutorder/accountSure",params)// 结算确认
const accountSureBack = (params)=>getAction("/flower/flowerOutorder/accountSureBack",params)// 结算确认-撤销



//账期
const period= (params)=>getAction("/flower/period/getPeriodALL",params)// 获取账期

//预出库
const getFlowerPreOutorder = (params)=>getAction("/flower/flowerOutorderPre/list",params)
const getFlowerPreOutorderOnlySelf = (params)=>getAction("/flower/flowerOutorderPre/list2",params)
const getFlowerOutorderPreinfoByMainId = (params)=>getAction("/flower/flowerOutorderPre/queryFlowerOutorderPreinfoByMainId",params)
const getFlowerPreVarietys = (params)=>getAction("/flower/flowerTagpre/list2",params)
const getFlowerPreVarietys3 = (params)=>getAction("/flower/flowerTagpre/list3",params)
const flowerOutorderPreAdd = (params)=>postAction("/flower/flowerOutorderPre/add",params);
const flowerOutorderPreEdit = (params)=>putAction("/flower/flowerOutorderPre/edit",params);
const flowerOutOrderPreDelete = (params)=>deleteAction("/flower/flowerOutorderPre/delete",params);
const flowerOutorderPreDeleteBatch = (params)=>deleteAction("/flower/flowerOutorderPre/deleteBatch",params);
const getFlowerChannel = (params)=>getAction("/flower/flowerChannel/list",params)//渠道管理-分页列表查询
const getFlowerAccountByMainId = (params)=>getAction("/flower/flowerChannel/queryFlowerAccountByMainId",params)//查询账号
const baseMangeSure = (params)=>getAction("/flower/flowerOutorderPre/baseMangeSure",params)//基地管理员确认出库
const baseMangeSureBack = (params)=>getAction("/flower/flowerOutorderPre/baseMangeSureBack",params)//基地管理员撤销出库
const pipMange = (params)=>getAction("/flower/flowerOutorderPre/pipMange",params)//运管备案确认出库
const pipMangeBack = (params)=>getAction("/flower/flowerOutorderPre/pipMangeBack",params)//运管备案撤销出库
const preSreoutOrder = (params)=>getAction("/flower/flowerOutorderPre/sureOut",params)//确认出库
const preSureoutOrderBack = (params)=>getAction("/flower/flowerOutorderPre/sureOutBack",params)//撤销出库

const getPreOrderInfolistByNo = (params)=>getAction("/flower/flowerOutorderPre/infolistByOrderNo",params)//获取子表数据

//销售订单
const getFlowerPre = (params)=>getAction("/flower/flowerPre/list",params)
const getFlowerPreinfoByMainId = (params)=>getAction("/flower/flowerPre/queryFlowerPreinfoByMainId",params)
const getFlowerPreinfoByMainId2 = (params)=>getAction("/flower/flowerPre/queryFlowerPreinfoByMainId2",params)
const flowerPreAdd = (params)=>postAction("/flower/flowerPre/add",params);
const flowerPreEdit = (params)=>putAction("/flower/flowerPre/edit",params);
const flowerPreDelete = (params)=>deleteAction("/flower/flowerPre/delete",params);
const flowerPreDeleteBatch = (params)=>deleteAction("/flower/flowerPre/deleteBatch",params);
const finSureOut = (params)=>getAction("/flower/flowerPre/finSureOut",params);//财务确认
const backOut = (params)=>getAction("/flower/flowerPre/backOut",params);//财务撤销确认

const sealSureOut = (params)=>getAction("/flower/flowerPre/sealSureOut",params);//
const sealSureOutBack = (params)=>getAction("/flower/flowerPre/sealSureOutBack",params);
const pipSureOut = (params)=>getAction("/flower/flowerPre/pipSureOut",params);//
const pipSureOutBack = (params)=>getAction("/flower/flowerPre/pipSureOutBack",params);//



//采后物资管理类型
const getFlowerMaterialUnit = (params)=>getAction("/sys/dict/getDictItems/chm_unit",params)//查询入库单位
const getFlowerMaterialUnitMeasure = (params)=>getAction("/sys/dict/getDictItems/chm_unitMeasure",params)//查询计量单位

//采后物资管理类型V2
const getFlowerMaterialCategorysV2 = (params)=>getAction("/flowermater/flowerMaterialCategorysV2/list1",params)//查询物资类型-不分页

//采后物资入库管理
const getFlowerMaterialCategorys = (params)=>getAction("/flowermater/flowerMaterialCategorys/list",params)//采后物资产品-分页列表查询
const getFlowerMaterialCategorys1 = (params)=>getAction("/flowermater/flowerMaterialCategorys/list1",params)//采后物资产品-不分页列表查询
const getFlowerMaterialType = (params)=>getAction("/sys/dict/getDictItems/chm_type",params)//查询入库类型
const getFlowerMaterialInMain = (params)=>getAction("/flowermater/flowerMaterialInMain/list",params)//采后物资入库主表-分页列表查询
const getFlowerMaterialSupplier = (params)=>getAction("/flowermater/flowerMaterialSupplier/list",params)//获取供应商-分页查询
const getFlowerMaterialInfoByMainId = (params)=>getAction("/flowermater/flowerMaterialInMain/queryFlowerMaterialInByMainId",params)//采后物资入库子表主表ID查询
const flowerMaterialInMainAdd = (params)=>postAction("/flowermater/flowerMaterialInMain/add",params);//采后物资入库主表-添加
const flowerMaterialInMainEdit = (params)=>putAction("/flowermater/flowerMaterialInMain/edit",params);//采后物资入库主表-编辑
const flowerMaterialInMainDelete = (params)=>deleteAction("/flowermater/flowerMaterialInMain/delete",params);//采后物资入库主表-通过id删除
const flowerMaterialInMainDeleteBatch = (params)=>deleteAction("/flowermater/flowerMaterialInMain/deleteBatch",params);//采后物资入库主表-批量删除


const flowerMaterialInhouseSure = (params)=>putAction("/flowermater/flowerMaterialInMain/houseSure",params);//采后物资入库主表-库管确认
const flowerMaterialInhouseSureBack = (params)=>putAction("/flowermater/flowerMaterialInMain/houseSureBack",params);//采后物资入库主表-库管撤销确认
const flowerMaterialInfinaSure = (params)=>putAction("/flowermater/flowerMaterialInMain/finaSure",params);//采后物资入库主表-财务确认
const flowerMaterialInfinaSureBack = (params)=>putAction("/flowermater/flowerMaterialInMain/finaSureBack",params);//采后物资入库主表-财务撤销确认


//采后物资领用管理
const getFlowerMaterialBook = (params)=>getAction("/flowermater/flowerMaterialBook/list",params)//采后物资台账表-不分页列表查询
const getFlowerMaterialBook1 = (params)=>getAction("/flowermater/flowerMaterialBook/list1",params)//采后物资台账表-不分页列表查询
const getFlowerMaterialOutMain = (params)=>getAction("/flowermater/flowerMaterialOutMain/list",params)//采后物资出库主表-分页列表查询
const getFlowerMaterialOutInfoByMainId = (params)=>getAction("/flowermater/flowerMaterialOutMain/queryFlowerMaterialOutByMainId",params)//采后物资出库子表主表ID查询
const flowerMaterialOutMainAdd = (params)=>postAction("/flowermater/flowerMaterialOutMain/add",params);//采后物资出库主表-添加
const flowerMaterialOutMainEdit = (params)=>putAction("/flowermater/flowerMaterialOutMain/edit",params);//采后物资出库主表-编辑
const flowerMaterialOutMainDelete = (params)=>deleteAction("/flowermater/flowerMaterialOutMain/delete",params);//采后物资出库主表-通过id删除
const flowerMaterialOutMainDeleteBatch = (params)=>deleteAction("/flowermater/flowerMaterialOutMain/deleteBatch",params);//采后物资出库主表-批量删除

const flowerMaterialOutLeaderSure = (params)=>putAction("/flowermater/flowerMaterialOutMain/leaderSure",params);//采后物资出库主表-领导确认
const flowerMaterialOutLeaderSureBack = (params)=>putAction("/flowermater/flowerMaterialOutMain/leaderSureBack",params);//采采后物资出库主表-取消领导确认
const flowerMaterialOutHouseSure = (params)=>putAction("/flowermater/flowerMaterialOutMain/houseSure",params);//采后物资出库主表-库管确认
const flowerMaterialOutHouseSureBack = (params)=>putAction("/flowermater/flowerMaterialOutMain/houseSureBack",params);//采后物资出库主表-取消库管确认

//账期开关
const getFlowerAccountPeriodSwitch = (params)=>getAction("/flower/flowerAccountPeriodSwitch/list",params);//查询账期开关
const addFlowerAccountPeriodSwitch = (params)=>postAction("/flower/flowerAccountPeriodSwitch/add",params);//新增账期开关
const editFlowerAccountPeriodSwitch = (params)=>postAction("/flower/flowerAccountPeriodSwitch/edit",params);//查询账期开关

//批量入库调账
const getFlowerAdjustTagInMain = (params)=>getAction("/flowerAdjust/tFlowerAdjustTagInMain/list",params)
const getFlowerAdjustTagInMainDetailByMainId = (params)=>getAction("/flowerAdjust/tFlowerAdjustTagInMain/queryTFlowerAdjustTagInByMainId",params)
const flowerAdjustTagInMainAdd = (params)=>postAction("/flowerAdjust/tFlowerAdjustTagInMain/add",params)
const flowerAdjustTagInMainEdit = (params)=>putAction("/flowerAdjust/tFlowerAdjustTagInMain/edit",params)
const flowerAdjustTagInMainDelete = (params)=>deleteAction("/flowerAdjust/tFlowerAdjustTagInMain/delete",params)
const flowerAdjustTagInMainDeleteBatch = (params)=>deleteAction("/flowerAdjust/tFlowerAdjustTagInMain/deleteBatch",params)
const flowerAdjustTagInMainFinanceSure = (params)=>getAction("/flowerAdjust/tFlowerAdjustTagInMain/financeSure",params)//财务审核
const flowerAdjustTagInMainFinanceCancelSure = (params)=>getAction("/flowerAdjust/tFlowerAdjustTagInMain/financeCancelSure",params)//撤销财务审核
const flowerAdjustTagInMainStoreSure = (params)=>getAction("/flowerAdjust/tFlowerAdjustTagInMain/storeSure",params)//库管审核
const flowerAdjustTagInMainStoreCancelSure = (params)=>getAction("/flowerAdjust/tFlowerAdjustTagInMain/storeCancelSure",params)//撤销库管审核
const flowerAdjustTagInMainOperationSure = (params)=>postAction("/flowerAdjust/tFlowerAdjustTagInMain/operationSure",params)//运管审核
const flowerAdjustTagInMainOperationCancelSure = (params)=>postAction("/flowerAdjust/tFlowerAdjustTagInMain/operationCancelSure",params)//撤销运管审核




//产品处理-大屏统计
const queryTableList = (params)=>getAction("/flower/tagInfo/tableList",params);
const getMonthWorkData = (params)=>getAction("/flower/tagInfo/monthWorkCom",params);
const getPoleLengthData = (params)=>getAction("/flower/tagInfo/poleLengthCom",params);
const getCurrentSortFlower = (params)=>getAction("/flower/tagInfo/currentSortFlower",params);
const queryPoleLevelYear = (params)=>getAction("/flower/tagInfo/queryPoleLevelYear",params);
const queryPoleLevelMonth = (params)=>getAction("/flower/tagInfo/queryPoleLevelMonth",params);
const queryVariety = (params)=>getAction("/flower/tagInfo/queryVariety",params);
//角色管理
const addRole = (params)=>postAction("/sys/role/add",params);
const editRole = (params)=>putAction("/sys/role/edit",params);
const checkRoleCode = (params)=>getAction("/sys/role/checkRoleCode",params);
const queryall = (params)=>getAction("/sys/role/queryall",params);

//用户管理
const addUser = (params)=>postAction("/sys/user/add",params);
const editUser = (params)=>putAction("/sys/user/edit",params);
const queryUserRole = (params)=>getAction("/sys/user/queryUserRole",params);
const getUserList = (params)=>getAction("/sys/user/list",params);
const frozenBatch = (params)=>putAction("/sys/user/frozenBatch",params);
//验证用户是否存在
const checkOnlyUser = (params)=>getAction("/sys/user/checkOnlyUser",params);
//改变密码
const changePassword = (params)=>putAction("/sys/user/changePassword",params);

//权限管理
const addPermission= (params)=>postAction("/sys/permission/add",params);
const editPermission= (params)=>putAction("/sys/permission/edit",params);
const getPermissionList = (params)=>getAction("/sys/permission/list",params);
const getSystemMenuList = (params)=>getAction("/sys/permission/getSystemMenuList",params);
const getSystemSubmenu = (params)=>getAction("/sys/permission/getSystemSubmenu",params);
const getSystemSubmenuBatch = (params) => getAction('/sys/permission/getSystemSubmenuBatch', params)
const queryTreeList = (params)=>getAction("/sys/permission/queryTreeList",params);
const queryTreeListForRole = (params)=>getAction("/sys/role/queryTreeList",params);
const queryListAsync = (params)=>getAction("/sys/permission/queryListAsync",params);
const queryRolePermission = (params)=>getAction("/sys/permission/queryRolePermission",params);
const saveRolePermission = (params)=>postAction("/sys/permission/saveRolePermission",params);
const queryPermissionsByUser = (params)=>getAction("/sys/permission/getUserPermissionByToken",params);
const loadAllRoleIds = (params)=>getAction("/sys/permission/loadAllRoleIds",params);
const getPermissionRuleList = (params)=>getAction("/sys/permission/getPermRuleListByPermId",params);
const queryPermissionRule = (params)=>getAction("/sys/permission/queryPermissionRule",params);

// 部门管理
const queryDepartTreeList = (params)=>getAction("/sys/sysDepart/queryTreeList",params);
const queryDepartTreeSync = (params)=>getAction("/sys/sysDepart/queryDepartTreeSync",params);
const queryIdTree = (params)=>getAction("/sys/sysDepart/queryIdTree",params);
const queryParentName   = (params)=>getAction("/sys/sysDepart/queryParentName",params);
const searchByKeywords   = (params)=>getAction("/sys/sysDepart/searchBy",params);
const deleteByDepartId   = (params)=>deleteAction("/sys/sysDepart/delete",params);

//二级部门管理
const queryDepartPermission = (params)=>getAction("/sys/permission/queryDepartPermission",params);
const saveDepartPermission = (params)=>postAction("/sys/permission/saveDepartPermission",params);
const queryTreeListForDeptRole = (params)=>getAction("/sys/sysDepartPermission/queryTreeListForDeptRole",params);
const queryDeptRolePermission = (params)=>getAction("/sys/sysDepartPermission/queryDeptRolePermission",params);
const saveDeptRolePermission = (params)=>postAction("/sys/sysDepartPermission/saveDeptRolePermission",params);
const queryMyDepartTreeList = (params)=>getAction("/sys/sysDepart/queryMyDeptTreeList",params);

//日志管理
const deleteLog = (params)=>deleteAction("/sys/log/delete",params);
const deleteLogList = (params)=>deleteAction("/sys/log/deleteBatch",params);

//数据字典
const addDict = (params)=>postAction("/sys/dict/add",params);
const editDict = (params)=>putAction("/sys/dict/edit",params);
const treeList = (params)=>getAction("/sys/dict/treeList",params);
const addDictItem = (params)=>postAction("/sys/dictItem/add",params);
const editDictItem = (params)=>putAction("/sys/dictItem/edit",params);

//字典标签专用（通过code获取字典数组）
export const ajaxGetDictItems = (code, params)=>getAction(`/sys/dict/getDictItems/${code}`,params);
//从缓存中获取字典配置
function getDictItemsFromCache(dictCode) {
  if (Vue.ls.get(UI_CACHE_DB_DICT_DATA) && Vue.ls.get(UI_CACHE_DB_DICT_DATA)[dictCode]) {
    let dictItems = Vue.ls.get(UI_CACHE_DB_DICT_DATA)[dictCode];
    return dictItems;
  }
}

//系统通告
const doReleaseData = (params)=>getAction("/sys/annountCement/doReleaseData",params);
const doReovkeData = (params)=>getAction("/sys/annountCement/doReovkeData",params);
//获取系统访问量
const getLoginfo = (params)=>getAction("/sys/loginfo",params);
const getVisitInfo = (params)=>getAction("/sys/visitInfo",params);

// 根据部门主键查询用户信息
const queryUserByDepId = (params)=>getAction("/sys/user/queryUserByDepId",params);

// 重复校验
const duplicateCheck = (params)=>getAction("/sys/duplicate/check",params);
// 加载分类字典
const loadCategoryData = (params)=>getAction("/sys/category/loadAllData",params);
const checkRuleByCode = (params) => getAction('/sys/checkRule/checkByCode', params)
//加载我的通告信息
const getUserNoticeInfo= (params)=>getAction("/sys/sysAnnouncementSend/getMyAnnouncementSend",params);
//查询图表数据
const getTransitURL = url => `/sys/common/transitRESTful?url=${encodeURIComponent(url)}`
// 随机生成专家
const getRandomSpecialist = (params) => getAction('/specialist/getRandomSpecialist', params);
// 中转HTTP请求
export const transitRESTful = {
  get: (url, parameter) => getAction(getTransitURL(url), parameter),
  post: (url, parameter) => postAction(getTransitURL(url), parameter),
  put: (url, parameter) => putAction(getTransitURL(url), parameter),
  http: (url, parameter) => httpAction(getTransitURL(url), parameter),
}

export {
  getZZVarietyList,
  addRole,
  editRole,
  checkRoleCode,
  addUser,
  editUser,
  queryUserRole,
  getUserList,
  queryall,
  frozenBatch,
  checkOnlyUser,
  changePassword,
  getPermissionList,
  addPermission,
  editPermission,
  queryTreeList,
  queryListAsync,
  queryRolePermission,
  saveRolePermission,
  queryPermissionsByUser,
  loadAllRoleIds,
  getPermissionRuleList,
  queryPermissionRule,
  queryDepartTreeList,
  queryDepartTreeSync,
  queryIdTree,
  queryParentName,
  searchByKeywords,
  deleteByDepartId,
  deleteLog,
  deleteLogList,
  addDict,
  editDict,
  treeList,
  addDictItem,
  editDictItem,
  doReleaseData,
  doReovkeData,
  getLoginfo,
  getVisitInfo,
  queryUserByDepId,
  duplicateCheck,
  queryTreeListForRole,
  getSystemMenuList,
  getSystemSubmenu,
  getSystemSubmenuBatch,
  loadCategoryData,
  checkRuleByCode,
  queryDepartPermission,
  saveDepartPermission,
  queryTreeListForDeptRole,
  queryDeptRolePermission,
  saveDeptRolePermission,
  queryMyDepartTreeList,
  getUserNoticeInfo,
  getDictItemsFromCache,
  queryFlowerBase,
  queryGreenhouseByPd,
  queryTodayData,
  queryAndCountById,
  queryTableList,
  getMonthWorkData,
  getPoleLengthData,
  getCurrentSortFlower,
  queryPoleLevelYear,
  queryPoleLevelMonth,
  queryVariety,
  getRandomSpecialist,
  queryFlowerOutOrderInfo,
  queryFlowerOutOrderInfoListInfo,
  getVarietyList,
  getFlowerOutorder,
  getFlowerVarietys,
  getFlowerOutorderinfo,
  flowerOutOrderAdd,
  flowerOutOrderEdit,
  flowerOutOrderDelete,
  flowerOutOrderDeleteBatch,
  flowerOutOrderSureOut,
  flowerOutOrderToWaitOut,
  getFlowerPreOutorder,
  getFlowerPreOutorderOnlySelf,
  getFlowerOutorderPreinfoByMainId,
  getFlowerPreVarietys,
  getFlowerPreVarietys3,
  flowerOutorderPreAdd,
  flowerOutorderPreEdit,
  flowerOutOrderPreDelete,
  flowerOutorderPreDeleteBatch,
  getFlowerChannel,
  getFlowerAccountByMainId,
  getFlowerPre,
  getFlowerPreinfoByMainId,
  getFlowerPreinfoByMainId2,
  flowerPreAdd,
  flowerPreEdit,
  flowerPreDelete,
  flowerPreDeleteBatch,
  finSureOut,
  sealSureOut,
  sealSureOutBack,
  pipSureOut,
  pipSureOutBack,

  getVarietyNameList,
  listByPsn,
  getFlowerTagInMain2,
  getFlowerTagInMain2DetailByMainId,
  flowerTagInMain2Add,
  flowerTagInMain2Edit,
  flowerTagInMain2Delete,
  flowerTagInMain2DeleteBatch,
  getFlowerStorehouse,
  getFlowerStorehouseDetailByMainId,
  getFlowerCost,
  getFlowerStorehouseDict,
  flowerStorehouseAdd,
  flowerStorehouseEdit,
  flowerStorehouseDelete,
  flowerStorehouseDeleteBatch,
  getFlowerCustom,
  flowerOutOrderDList,
  flowerOutOrderDDelete,
  flowerOutOrderDAdd,
  flowerAfSalesMain,
  period,
  backOut,
  getFlowerMaterialUnit,
  getFlowerMaterialUnitMeasure,
  getFlowerMaterialCategorys,
  getFlowerMaterialCategorysV2,
  getFlowerMaterialCategorys1,
  getFlowerMaterialType,
  getFlowerMaterialInMain,
  getFlowerMaterialSupplier,
  getFlowerMaterialInfoByMainId,
  flowerMaterialInMainAdd,
  flowerMaterialInMainEdit,
  flowerMaterialInhouseSure,
  flowerMaterialInhouseSureBack,
  flowerMaterialInfinaSure,
  flowerMaterialInfinaSureBack,
  flowerMaterialInMainDelete,
  flowerMaterialInMainDeleteBatch,
  getFlowerMaterialBook,
  getFlowerMaterialBook1,
  getFlowerMaterialOutMain,
  getFlowerMaterialOutInfoByMainId,
  flowerMaterialOutMainAdd,
  flowerMaterialOutMainEdit,
  flowerMaterialOutMainDelete,
  flowerMaterialOutMainDeleteBatch,
  flowerMaterialOutLeaderSure,
  flowerMaterialOutLeaderSureBack,
  flowerMaterialOutHouseSure,
  flowerMaterialOutHouseSureBack,
  getFlowerAccountPeriodSwitch,
  addFlowerAccountPeriodSwitch,
  editFlowerAccountPeriodSwitch,
  getFlowerAdjustTagInMain,
  getFlowerAdjustTagInMainDetailByMainId,
  flowerAdjustTagInMainAdd,
  flowerAdjustTagInMainEdit,
  flowerAdjustTagInMainDelete,
  flowerAdjustTagInMainDeleteBatch,
  flowerAdjustTagInMainFinanceSure,
  flowerAdjustTagInMainFinanceCancelSure,
  flowerAdjustTagInMainStoreSure,
  flowerAdjustTagInMainStoreCancelSure,
  flowerAdjustTagInMainOperationSure,
  flowerAdjustTagInMainOperationCancelSure,
  syncUser,
  getCustomMoney,
  fiunalSure,
  fiunalSureBack,
  transportPipe,
  transportPipeBack,
  toPress,
  toPressBack,
  accountSure,
  accountSureBack,
  baseMangeSure,baseMangeSureBack,pipMange,pipMangeBack,
  preSreoutOrder,
  preSureoutOrderBack,
  getPreOrderInfolistByNo,
  sure,
  sureBack,

  getTagBooks,
  getTagBookPres,
}



